PalParkArea

@Serializable
data class PalParkArea(val id: Int, val name: String, val names: List<Name>, val pokemonEncounters: List<PalParkEncounterSpecies>) : NamedModel(source)

Areas used for grouping Pokémon encounters in Pal Park. They're like habitats that are specific to Pal Park. See: https://pokeapi.co/docs/v2#pal-park-areas

Parameters

id

The identifier for this resource.

name

The name for this resource.

names

The name of this resource listed in different languages.

pokemonEncounters

A list of Pokémon encountered in this pal park area along with details.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, names: List<Name>, pokemonEncounters: List<PalParkEncounterSpecies>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard